package view.listener;

import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;

import control.Storage;

public class CloseButtonListener extends SelectionAdapter {

	@Override
	public void widgetSelected(SelectionEvent arg0) {

		Storage.getInstance().setConfigured(false);
		arg0.display.getActiveShell().dispose();
	}
}
